/*********WRAPPER**********/
@font-face {
	font-family: 'namefont';
	src: url('fonts/3337493371.ttf');
}

body{
    background: #022044 url(../images/68homebg.jpg) center center no-repeat;
    font-family : arial, sans-serif, tahoma, helvetica;
}
#wrapper{
    width: 1024px;
    margin : 0 auto;
    
}
#body{
    /*background : url(../images/homebg2.jpg) no-repeat;*/
}
#header{
    position: relative  ;
}
#header #logo{
    float: left;
    width: 300px;
    margin-top: 20px;
}
#header #logo img{
    float: left;
    margin-right:  10px;
}
#header #logo .name{
    color: #FFE9A6;
    font-weight: bold;
    font-size : 20px;
    letter-spacing: 1px;
    margin:20px 0  10px 0;
    text-shadow: 2px 2px #333;
    text-transform: uppercase;
}
#header #logo .slogen{
    color: white;
    text-shadow: 2px 2px #333;
    text-transform: uppercase;
}

#header #login{
    float: right;
    
}
#header #login form{
    position: absolute;
    right: 0px;
}
#header #login input[type=text],#header #login input[type=password]{
    background : #ccc;
    width: 80px;
    padding: 1px 2px;
}

#header #login form label, #header #login .reg ul li{
    color: #359ECB;
    font-size : 16px;
}
#header #login .reg ul{
    list-style: none;
    
}
#header #login .reg ul li{
    position: relative;
    display: inline-block;
    padding :0 5px;
    border-right: 2px solid #359ECB;
    font-size : 14px;
}
#header #login .reg ul li:last-child{
    border : none !important;
}
#header #login .reg ul li img{
    position: absolute;
    top: -5px;
    right: 5px;
}
#header #login .reg ul li.fb,#header #login .reg ul li.gg{
    padding-right: 30px;
}

#header #login  .reg{
    margin-top: 35px;
}

#navigation{
    float : right;
    margin-top : -40px;
}
#navigation ul{
    list-style:  none;
    float: left;
}
#navigation ul li{
    display: inline-block;
    height: 56px;
    width: 124px;
    text-align: center;
    line-height: 36px;
    color: #C4DBD5;
    cursor : pointer; 
    margin-right: -28px;
}
#navigation ul li.first{
    background: url(../images/top1normal.png) no-repeat top left;
    
}
#navigation ul li.first:hover{
    background: url(../images/top1clicked.png) no-repeat top left;
}
#navigation ul li.mid{
    background: url(../images/top2normal.png) no-repeat top left;
}
#navigation ul li.mid:hover{
    background: url(../images/top2clicked.png) no-repeat top left;
}
#navigation form{
    float: right;
    margin-top: 5px;
    margin-left: 40px;  
}

#navigation form div.input{
    float: left;
}
#navigation form div.submit{
    float:  right;
}

#contact{
    padding: 5px 10px 0 10px;
    overflow: hidden;
    width: 1004px;
    background : url(../images/homebg2-top.jpg) no-repeat top left;
}

#contact .mobile{
    float: left;
}
#contact .mobile span{
    display: block;
    float: left;
    color: white;
    margin: 17px 10px 0 0;
}
#contact .mobile a{
    float: left;
}
#contact .social{
    float: right;
}
#contact .social div{
    float: right;
    
}
#contact .social p{
    color: yellow;
    margin-top: 2px;
    float: right;
}
#games{
    background : url(../images/pattern.png) repeat-y top left;
    width: 100%;
    height: 160px;
    position: relative;
}
#games .game{
    overflow: hidden;
    position: relative;
    height: 160px;
    
}
#games .game div{
    position: absolute;
    top: 15px;left: 30px;
    cursor: pointer;
}
#games .game div p{
    text-align: center;
    color: white;
    font-size: 15px;
    margin-top: -5px;
}
#games .nav{
    width: 23px;
    height: 138px;
    background: url(../images/next1.png) no-repeat;
    position: absolute;
    top: 11px;
    display: none;
    cursor: pointer;
    z-index: 100;
}
#games .prev{
    left: 4px;
    -webkit-transform: rotate(180deg);  
    -moz-transform: rotate(180deg);  
    -ms-transform: rotate(180deg);  
    -o-transform: rotate(180deg);  
    transform: rotate(180deg);  
}
#games .next{
    right: 4px;
    
}
#games:hover .nav{
    display: block;
}